{% extends "asgn/base.html" %}
{% block asgn_page_title %}评测历史{% endblock %}
{% block asgn_page_body %}
{% include "problem/status/filter.html" %}
{{ pager }}
{% include "problem/status/list_body.html" %}
{{ pager }}
{% endblock %}
{% block asgn_page_script %}
<script type="text/javascript">
    $(function () {
        $(".filter-flag").click(function(){
            $(".filter-flag").removeClass("label-primary").removeClass('label-transparent');
            $(this).addClass("label-primary");
            $(".filter-flag").not(".label-primary").addClass('label-transparent');
            $("#ipt-filter-flag").val($(this).attr("dat-val"));
        });
        $("#status_filter_bar").click(function(){
            $("#status_filter").slideToggle();
        });
    });
</script>
{% endblock %}